const ApiRoot = "http://localhost:8080/"

export const apiUrl = {
	// login 验证码
	CodeUrl: "http://localhost/dev-api/code",
	// login 登录路径
	LoginUrl: ApiRoot + "auth/login",
	// register 注册
	RegisterUrl: ApiRoot + "system/user/cwregister",
	// my 用户信息路径
	UserInfoUrl: ApiRoot + "system/wxcw/getUserInfo/",
	// homePage 获取商品图片
	productInfoUrl: ApiRoot + "system/cwproduct/list/",
	// purchase 获取商品信息
	purchaseInfoUrl: ApiRoot + "system/cwproduct/wxproductlist/",
	// eggMachine 获取盲盒商品信息
	blindProductUrl: ApiRoot + "system/cwcontents/list",
	// eggMachine 获取盲盒盒子信息
	blindBoxInfo: ApiRoot + "system/cwbox/list",
	// playerShow 获取玩家秀
	playerShow: ApiRoot + "system/cwarticles/list/",
	// addarticle 新增文章列表
	articleAdd: ApiRoot + "system/cwarticles/",
	// comment 获取评论区评论
	commentInfo: ApiRoot + "system/cwcomment/list/",
	// shoppingCart 获取购物车列表
	shoppingCart: ApiRoot + "system/cwshoppingcart/list",
	// shoppingCart 添加商品到购物车
	shoppingCartAdd: ApiRoot + "system/cwshoppingcart",
	// shoppingCart 更新购物车商品数量
	shoppingCartUpdate: ApiRoot + "system/cwshoppingcart",
	// shoppingCart 删除购物车商品
	shoppingCartDelete: ApiRoot + "system/cwshoppingcart",
	// setting 获取用户信息
	settingInfo: ApiRoot + "system/user/getByUserId/",
	// setting 更新用户信息
	settingUpdate: ApiRoot + "system/user/updataUser",
	// 文件上传接口
	uploadUrl: ApiRoot + "file/upload",
	// 新增地址接口
	addressAdd: ApiRoot + "system/useraddresses/",
	// 获取地址接口
	addressList:ApiRoot + "system/useraddresses/list/",
}